
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Book Conference Item</title>

        <sj:head />
        <script src="js/jquery.cookie.js"></script>
        <script src="js/coms.js"></script>
    </head>
    <body>
        <s:include value="/jsp/header.jsp">
            <s:param name="user" value="#session.user.username" />
        </s:include>
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span3">
                    <s:action name="selectMenu" executeResult="true"/>
                </div>
                <div class="span9">
                    <div class="hero-unit">
                        <s:form id="form1" action="%{actionType}ConferenceItemDetail">

                            <table align="center" cellpadding="5">
                                <tr>                    
                                    <td align="right">Your Booked Conferences:</td>
                                    <td><s:url id="conf" action="conferenceItemData"/> 
                                        <sj:select href="%{conf}" id="select1" 
                                                   name="conference" 
                                                   list="bookedConference" 
                                                   headerKey="-1" headerValue="Please Select your Booked Conference" 
                                                   listKey="id" listValue="name"/></td>
                                </tr>

                                <tr>
                                    <td></td>
                                    <td align="left">
                                        <sj:submit targets="resultdiv1" 
                                                   value="Select Conference"indicator="indicator" 
                                                   button="true" /><img id="indicator" src="img/indicator.gif" alt="Loading..." style="display:none"/></td></td>

                                </tr>                        
                            </table>           
                        </s:form>
                        <div id="resultdiv1" cssClass="result ui-widget-content ui-corner-all">
                            Please Select a conference                
                        </div>
                    </div>
                    <div class="row-fluid">

                    </div>
                </div>
            </div>
        </div>
        <s:include value="/jsp/footer.jsp"/>

    </body>
</html>
